package com.ls.recursive;

public class Section {

    public static void main(String[] args) {
        System.out.println(compute(4));
    }

    public static int compute(int n){
        if (n==1){
            return 1;
        }else {
            return n*compute(n-1);
        }
    }
}
